package mpcs.model.vo
{	
	import mx.collections.ArrayCollection;
	import mx.collections.ArrayList;

	/**
	 *  
	 * @author zhangzuoqiang
	 */
	public class UserVO {
		
		public function UserVO ( email:String=null, password:String=null ) {
			if( email != null ) 
				this.email = email;
			if( password != null ) 
				this.password = password;
		}
		
		public function toString():String {
			return "UserVO [ " + this.email 
				+ " , " + this.password 
				+ " ,  " + this.basicInfo.toString()
				+ " ,  " + this.contactInfo.toString()
//				+ " ,  " + this.mobileVO.toString()
				+ " ]";
		}
		
		public function getEmail():String {
			return this.email;
		}
		public function setEmail(email:String):void {
			this.email = email;
		}
		
		public function getPassword():String {
			return this.password;
		}
		public function setPassword(password:String):void {
			this.password = password;
		}
		
		public function getBasicInfoVO():BasicInfoVO {
			return this.basicInfo;
		}
		public function setBasicInfoVO(basicInfo:BasicInfoVO):void {
			this.basicInfo = basicInfo;
		}
		
		public function getContactInfoVO():ContactInfoVO {
			return this.contactInfo;
		}
		public function setContactInfoVO(contactInfo:ContactInfoVO):void {
			this.contactInfo = contactInfo;
		}
		
		/*public function getMobileVO():MobileVO {
			return this.mobileVO;
		}
		public function setMobileVO(mobileVO:MobileVO):void {
			this.mobileVO = mobileVO;
		}*/
		
		public function getMobileList():Array {
			return this.mobileList;
		}
		public function setMobileList(mobileList:Array):void {
			this.mobileList = mobileList;
		}
		
		public function getPositonList():ArrayList {
			return this.positionList;
		}
		public function setPositonList(positionList:ArrayList):void {
			this.positionList = positionList;
		}
		
		[Bindable]private var email:String = "";
		[Bindable]private var password:String = "";
		[Bindable]private var basicInfo:BasicInfoVO = new BasicInfoVO();
		[Bindable]private var contactInfo:ContactInfoVO = new ContactInfoVO();
		[Bindable]private var mobileList:Array = [];
		[Bindable]private var positionList:ArrayList = new ArrayList();
//		[Bindable]private var mobileVO:MobileVO = new MobileVO();
	}
}